//
//  CollectionViewCell.m
//  SchoolTask
//
//  Created by feel on 16/8/27.
//  Copyright © 2016年 sm. All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell


-(id)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    
    if (self) {
        
        _titleLb = [[UILabel alloc]initWithFrame:self.bounds];
        [self addSubview:_titleLb];
    }
    
    return self;
}

//- (instancetype)init
//{
//    self = [super init];
//    if (self) {
//        
//        self.backgroundColor = [UIColor grayColor];
//        
//        _titleLb = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 40, 30)];
//        [self addSubview:_titleLb];
//        _titleLb.center = self.center;
// 
//    }
//    return self;
//}

@end
